home *** CD-ROM | disk | FTP | other *** search
- Path: yama.mcc.ac.uk!usenet
- From: Christos Dimitrakakis <mbge4cd1@fs1.ee.man.ac.uk>
- Newsgroups: comp.sys.amiga.hardware,comp.sys.amiga.programmer
- Subject: AUDIO INTERRUPTS!
- Date: Wed, 17 Apr 1996 13:25:19 +0100
- Organization: Sirius Cybernetics Corporation
- Message-ID: <3174E32F.3490@fs1.ee.man.ac.uk>
- References: <4kdrpj$kvf@svin09.win.tue.nl> <1137.6674T1301T2851@lando.demon.co.uk> <4klthn$3rrb@trout.ab.umd.edu>
- NNTP-Posting-Host: meehph.ee.man.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (X11; I; HP-UX A.09.03 9000/715)
-
- Hi.
- I have recently tried to create some real-time sound effects,
- (getting data from the parallel port and outputting to the sound chip)
- but I run into several problems.
-
- 1) I need to send data to the audio chip directly from the CPU.
- The hardware manual does not have an example about how to do this,
- and furthermore it does not state in where exactly the bytes are
- placed in the AUDxDAT registers.
- If you look at the register index, each AUDxDAT register
- occupies 6 memory locations. Where am I supposed to place data?
- Which address? Which part of each long word?
- 2)Interrupts
- I did this after enabling the interrupts,
- disabling audio DMA and specifying a volume for channel x:
-
- I. Send to AUDxDAT lower address (each byte stored in the LSBs of the
- first 2 words)
- II. Wait for the interrupt
- III. Clear interrupt.
- IV. Go back to I.
- But it did not work...
- Somebody could help, either with a detailed explanation or
- a working example (preferrably in assembly)
-
- Thanks in advance,
- Christos
-